<template>
  <div v-if="userInfo == 'admin'">
    <div class="header pt10 pb10 s-d-flex s-jc-space-between">
      <div class="flex-1">医院申请记录</div>
      <div class="flex-1 s-tar s-pointer text-primary" @click="$router.push({path:''})">查看详情</div>
    </div>
    <div class="content h240 mb10">
      <div class="s-d-flex s-jc-space-between">
        <div class="item">
          抚州第一人民医院
        </div>
        <div class="btns s-pointer text-primary">申请加入</div>
      </div>
    </div>
  </div>
</template>
<script>
import { getUserInfo } from "@/utils/auth";
export default {
  data() {
    return {
      userInfo: {},
    };
  },
  created() {
    this.userInfo = getUserInfo() ? JSON.parse(getUserInfo()) : {};
  },
};
</script>
<style lang="scss" scoped>
.flex-1 {
  flex: 1;
}
.item {
  color: #909399;
  font-size: 16px;
}
</style>